import { DatePicker } from 'antd'
import { SwapOutlined } from '@ant-design/icons'
import dayjs from 'dayjs'


export const ChartA01Field = [
    {
        "name": "计划收入",
        "type": "tableName",
        "value": "A01",
        "color": "#3860f6"
    },
    {
        "name": "实际收入",
        "type": "tableName",
        "value": "A02",
        "color": "#c093eb"
    }
]

export const ChartA01Style = {
    "type": "bar",
    "stack": false,
    "group": false,
    "percent": false,
    "direction": "vertical",
    "background": "rgba(0,0,0,0)",
    "padding": 16,
    "xField": "type",
    "yField": "value",
    barWidth: 24,
    barGapInGroup: 0,
    "line_visible": true,
    "line_curveType": "linear",
    "line_lineWidth": 2,
    "line_opacity": 1,
    "line_shadowColor": "#262626",
    "line_shadowBlur": 2,
    "line_shadowOffsetX": 1,
    "line_shadowOffsetY": 1,
    "bar_visible": true,
    "bar_cornerRadius": 4,
    "bar_shadowColor": "#262626",
    "bar_shadowBlur": 4,
    "bar_shadowOffsetX": 2,
    "bar_shadowOffsetY": 2,
    "point_visible": true,
    "point_symbolType": "circle",
    "point_size": 8,
    "point_lineWidth": 2,
    "point_fill": "#fff",
    "point_fillOpacity": 1,
    "point_shadowColor": "#262626",
    "point_shadowBlur": 2,
    "point_shadowOffsetX": 1,
    "point_shadowOffsetY": 1,
    "point_hover_symbolType": "rectRound",
    "point_hover_size": 16,
    "barBack_visible": true,
    "barBack_cornerRadius": 0,
    "barBack_fill": "rgba(0,0,0,0.05)",
    "lineLabel_visible": true,
    "lineLabel_fontSize": 24,
    "lineLabel_fontFamily": "DIN",
    "lineLabel_fontWeight": 600,
    "lineLabel_fontStyle": "italic",
    "lineLabel_underline": false,
    "lineLabel_lineThrough": false,
    "lineLabel_shadowColor": "#262626",
    "lineLabel_shadowBlur": 2,
    "lineLabel_shadowOffsetX": 1,
    "lineLabel_shadowOffsetY": 1,
    "lineLabel_stroke": "#262626",
    "lineLabel_lineWidth": 3,
    "axes_setUp": [
        {
            "orient": "left",
            "trimPadding": false,
            "hover": true,
            "background_visible": false,
            "background_fillOpacity": 0,
            "background_hover_fill": "#DDE3E9",
            "background_hover_fillOpacity": 0.65,
            "background_hover_cursor": "pointer",
            "title_visible": false,
            "title_space": 16,
            "title_text": "轴标题",
            "title_fill": "#fff",
            "title_fontSize": 16,
            "title_fontFamily": "Pixel",
            "title_fontWeight": 600,
            "title_fontStyle": "italic",
            "title_underline": false,
            "title_lineThrough": false,
            "title_shadowColor": "#262626",
            "title_shadowBlur": 2,
            "title_shadowOffsetX": 1,
            "title_shadowOffsetY": 1,
            "title_stroke": "#262626",
            "title_lineWidth": 3,
            "label_visible": true,
            "tick_visible": true,
            "tick_tickSize": 8,
            "tick_stroke": "#262626",
            "domainLine_visible": true,
            "domainLine_stroke": "#262626",
            "grid_visible": true,
            "grid_stroke": "rgba(0,0,0,0.1)",
            "grid_lineDashA": 0,
            "grid_lineDashB": 0,
            "label_text": "",
            "label_fill": "#fff",
            "label_fontSize": 16,
            "label_fontFamily": "Pixel",
            "label_fontWeight": 600,
            "label_fontStyle": "italic",
            "label_underline": false,
            "label_lineThrough": false,
            "label_shadowColor": "#262626",
            "label_shadowBlur": 2,
            "label_shadowOffsetX": 1,
            "label_shadowOffsetY": 1,
            "label_stroke": "#262626",
            "label_lineWidth": 3,
            "unit_visible": true,
            "unit_text": "亿元",
            "unit_dx": -56,
            "unit_dy": -24,
            "unit_fill": "#fff",
            "unit_fontSize": 16,
            "unit_fontFamily": "Pixel",
            "unit_fontWeight": 600,
            "unit_fontStyle": "italic",
            "unit_underline": false,
            "unit_lineThrough": false,
            "unit_shadowColor": "#262626",
            "unit_shadowBlur": 2,
            "unit_shadowOffsetX": 1,
            "unit_shadowOffsetY": 1,
            "unit_stroke": "#262626",
            "unit_lineWidth": 3
        },
        {
            "orient": "bottom",
            "trimPadding": false,
            "hover": true,
            "background_visible": true,
            "background_fillOpacity": 0,
            "background_hover_fill": "#DDE3E9",
            "background_hover_fillOpacity": 0.65,
            "background_hover_cursor": "pointer",
            "title_visible": false,
            "title_space": 16,
            "title_text": "轴标题",
            "title_fill": "#fff",
            "title_fontSize": 16,
            "title_fontFamily": "DIN",
            "title_fontWeight": 600,
            "title_fontStyle": "italic",
            "title_underline": false,
            "title_lineThrough": false,
            "title_shadowColor": "#262626",
            "title_shadowBlur": 2,
            "title_shadowOffsetX": 1,
            "title_shadowOffsetY": 1,
            "title_stroke": "#262626",
            "title_lineWidth": 3,
            "label_unit": "",
            "label_fill": "#fff",
            "label_fontSize": 16,
            "label_fontFamily": "DIN",
            "label_fontWeight": 600,
            "label_fontStyle": "italic",
            "label_underline": false,
            "label_lineThrough": false,
            "label_shadowColor": "#262626",
            "label_shadowBlur": 2,
            "label_shadowOffsetX": 1,
            "label_shadowOffsetY": 1,
            "label_stroke": "#262626",
            "label_lineWidth": 3,
            "tick_visible": true,
            "tick_tickMode": 4,
            "tick_noDecimals": true,
            "tick_tickSize": 8,
            "tick_stroke": "#262626",
            "domainLine_visible": true,
            "domainLine_stroke": "#262626",
            "grid_visible": false,
            "grid_stroke": "rgba(0,0,0,0.1)",
            "grid_lineDashA": 0,
            "grid_lineDashB": 0
        }
    ],
    "title_visible": false,
    "title_text": "折现图、面积图、柱形图、条形图",
    "title_align": "center",
    "title_innerPadding": 0,
    "title_fill": "#fff",
    "title_fontSize": 16,
    "title_fontFamily": "DIN",
    "title_fontWeight": 600,
    "title_fontStyle": "italic",
    "title_textAlign": "center",
    "title_textBaseline": "middle",
    "title_underline": false,
    "title_lineThrough": false,
    "title_shadowColor": "#262626",
    "title_shadowBlur": 2,
    "title_shadowOffsetX": 1,
    "title_shadowOffsetY": 1,
    "title_background": "transparent",
    "title_stroke": "#262626",
    "title_lineWidth": 3,
    "legends_setUp": [
        {
            "visible": true,
            "orient": "top",
            "position": "middle",
            "padding": 0,
            "selectMode": "multiple",
            "allowAllCanceled": true,
            "select": true,
            "title_visible": false,
            "title_text": "图例标题",
            "title_align": "start",
            "title_space": 4,
            "title_fill": "#fff",
            "title_fontSize": 16,
            "title_fontFamily": "DIN",
            "title_fontWeight": 600,
            "title_fontStyle": "italic",
            "title_underline": false,
            "title_lineThrough": false,
            "title_textAlign": "center",
            "title_textBaseline": "middle",
            "title_shadowColor": "#262626",
            "title_shadowBlur": 2,
            "title_shadowOffsetX": 1,
            "title_shadowOffsetY": 1,
            "title_stroke": "#262626",
            "title_lineWidth": 3,
            "title_background": "rgba(0,0,0,0)",
            "item_spaceCol": 16,
            "item_spaceRow": 8,
            "item_padding": 4,
            "item_align": "left",
            "item_focus": true,
            "item_focusSize": 16,
            "item_backRadius": 8,
            "item_shape_space": 8,
            "item_shape_size": 16,
            "item_label_space": 16,
            "item_label_fill": "#fff",
            "item_label_fontSize": 16,
            "item_label_fontFamily": "PingFang",
            "item_label_fontWeight": 600,
            "item_label_fontStyle": "italic",
            "item_label_underline": false,
            "item_label_lineThrough": false,
            "item_label_shadowColor": "#262626",
            "item_label_shadowBlur": 2,
            "item_label_shadowOffsetX": 1,
            "item_label_shadowOffsetY": 1,
            "item_label_stroke": "#262626",
            "item_label_lineWidth": 2
        }
    ],
    "label_visible": true,
    "label_position": "top",
    "label_formatter": "{type} {value}",
    "label_offset": 4,
    "label_overlap": true,
    "label_smartInvert": false,
    "label_fontSize": 16,
    "label_fontFamily": "DIN",
    "label_fontWeight": 600,
    "label_fontStyle": "italic",
    "label_underline": false,
    "label_lineThrough": false,
    "label_maxLineWidth": 200,
    "label_suffixPosition": "middle",
    "label_direction": "horizontal",
    "label_fillOpacity": 1,
    "label_shadowColor": "#262626",
    "label_shadowBlur": 2,
    "label_shadowOffsetX": 1,
    "label_shadowOffsetY": 1,
    "label_stroke": "#262626",
    "label_lineWidth": 1,
    "tooltip_visible": true,
    "tooltip_trigger": "hover",
    "tooltip_mark_visible": true,
    "tooltip_mark_position": "tl",
    "tooltip_mark_positionMode": "pointer",
    "tooltip_dimension_visible": true,
    "tooltip_dimension_position": "br",
    "tooltip_dimension_positionMode": "pointer",
    "tooltip_panel_padding": 16,
    "tooltip_panel_backgroundColor": "#f8f8f8",
    "tooltip_panel_borderColor": "#f8f8f8",
    "tooltip_panel_borderWidth": 1,
    "tooltip_panel_borderRadius": 8,
    "tooltip_panel_shadowX": 0,
    "tooltip_panel_shadowY": 0,
    "tooltip_panel_shadowBlur": 10,
    "tooltip_panel_shadowSpread": 4,
    "tooltip_panel_shadowColor": "#aaa",
    "tooltip_titleLabel_fontColor": "#262626",
    "tooltip_titleLabel_fontSize": 24,
    "tooltip_titleLabel_fontFamily": "ShuHeiTi",
    "tooltip_titleLabel_fontWeight": 600,
    "tooltip_titleLabel_textAlign": "center",
    "tooltip_shape_size": 16,
    "tooltip_shape_spacing": 8,
    "tooltip_keyLabel_fontColor": "#262626",
    "tooltip_keyLabel_fontSize": 20,
    "tooltip_keyLabel_fontFamily": "PingFang",
    "tooltip_keyLabel_fontWeight": 600,
    "tooltip_keyLabel_textAlign": "center",
    "tooltip_keyLabel_tspacing": 8,
    "tooltip_valueLabel_fontColor": "#262626",
    "tooltip_valueLabel_fontSize": 20,
    "tooltip_valueLabel_fontFamily": "DIN",
    "tooltip_valueLabel_fontWeight": 600,
    "tooltip_valueLabel_textAlign": "center",
    "tooltip_valueLabel_tspacing": 8,
    "tooltip_spaceRow": 8,
    "crosshair_trigger": "hover",
    "crosshair_X_visible": true,
    "crosshair_X_lineVisible": true,
    "crosshair_X_lineType": "rect",
    "crosshair_X_lineFill": "rgba(0,0,0,0.15)",
    "crosshair_X_lineStroke": "rgba(0,0,0,0)",
    "crosshair_X_lineLineWidth": 1,
    "crosshair_X_lineLineDashA": 0,
    "crosshair_X_lineLineDashB": 0,
    "crosshair_X_labelVisible": true,
    "crosshair_X_labelBackground": "rgba(0,0,0,0)",
    "crosshair_X_labelFill": "#fff",
    "crosshair_X_labelFontSize": 16,
    "crosshair_X_labelFontFamily": "DIN",
    "crosshair_X_labelFontWeight": 600,
    "crosshair_X_labelFontStyle": "italic",
    "crosshair_X_labelTextAlign": "center",
    "crosshair_X_labelTextBaseline": "middle",
    "crosshair_X_labelUnderline": false,
    "crosshair_X_labelLineThrough": false,
    "crosshair_X_labelShadowColor": "#262626",
    "crosshair_X_labelShadowBlur": 2,
    "crosshair_X_labelShadowOffsetX": 1,
    "crosshair_X_labelShadowOffsetY": 1,
    "crosshair_X_labelStroke": "#262626",
    "crosshair_X_labelLineWidth": 3,
    "crosshair_Y_visible": true,
    "crosshair_Y_lineVisible": true,
    "crosshair_Y_lineType": "line",
    "crosshair_Y_lineFill": "rgba(0,0,0,0)",
    "crosshair_Y_lineStroke": "#262626",
    "crosshair_Y_lineLineWidth": 1,
    "crosshair_Y_lineLineDashA": 4,
    "crosshair_Y_lineLineDashB": 2,
    "crosshair_Y_labelVisible": true,
    "crosshair_Y_labelBackground": "rgba(0,0,0,0)",
    "crosshair_Y_labelFill": "#fff",
    "crosshair_Y_labelFontSize": 16,
    "crosshair_Y_labelFontFamily": "DIN",
    "crosshair_Y_labelFontWeight": 600,
    "crosshair_Y_labelFontStyle": "italic",
    "crosshair_Y_labelTextAlign": "center",
    "crosshair_Y_labelTextBaseline": "middle",
    "crosshair_Y_labelUnderline": false,
    "crosshair_Y_labelLineThrough": false,
    "crosshair_Y_labelShadowColor": "#262626",
    "crosshair_Y_labelShadowBlur": 2,
    "crosshair_Y_labelShadowOffsetX": 1,
    "crosshair_Y_labelShadowOffsetY": 1,
    "crosshair_Y_labelStroke": "#262626",
    "crosshair_Y_labelLineWidth": 3,
    "totalLabel_visible": false,
    "totalLabel_fill": "#fff",
    "totalLabel_fontSize": 24,
    "totalLabel_fontFamily": "DIN",
    "totalLabel_fontWeight": 600,
    "totalLabel_fontStyle": "italic",
    "totalLabel_underline": false,
    "totalLabel_lineThrough": false,
    "totalLabel_fillOpacity": 1,
    "totalLabel_shadowColor": "#262626",
    "totalLabel_shadowBlur": 2,
    "totalLabel_shadowOffsetX": 1,
    "totalLabel_shadowOffsetY": 1,
    "totalLabel_stroke": "#262626",
    "totalLabel_lineWidth": 1,
    "mark_line": [
        {
            "visible": true,
            "axes": "y",
            "number": "17500",
            "line_stroke": "#262626",
            "line_strokeOpacity": 0.5,
            "line_lineDashA": 8,
            "line_lineDashB": 8,
            "line_lineWidth": 2,
            "line_shadowColor": "#262626",
            "line_shadowBlur": 2,
            "line_shadowOffsetX": 1,
            "line_shadowOffsetY": 1,
            "label_visible": true,
            "label_position": "start",
            "label_refX": 0,
            "label_refY": 0,
            "label_text": "内容",
            "label_fill": "#fff",
            "label_fontSize": 24,
            "label_fontFamily": "DIN",
            "label_fontWeight": 600,
            "label_fontStyle": "italic",
            "label_underline": false,
            "label_lineThrough": false,
            "label_fillOpacity": 1,
            "label_shadowColor": "#262626",
            "label_shadowBlur": 2,
            "label_shadowOffsetX": 1,
            "label_shadowOffsetY": 1,
            "label_stroke": "#262626",
            "label_lineWidth": 1
        }
    ],
    "mark_point": [
        {
            "visible": true,
            "coordinate_type": "索尼",
            "coordinate_value": 15500,
            "targetSymbol_visible": true,
            "targetSymbol_offset": 16,
            "targetSymbol_symbolType": "cross",
            "targetSymbol_size": 16,
            "targetSymbol_fill": "#fff",
            "targetSymbol_fillOpacity": 1,
            "targetSymbol_shadowColor": "#262626",
            "targetSymbol_shadowBlur": 2,
            "targetSymbol_shadowOffsetX": 1,
            "targetSymbol_shadowOffsetY": 1,
            "targetSymbol_stroke": "#262626",
            "targetSymbol_lineWidth": 1,
            "itemLine_visible": true,
            "itemLine_type": "type-arc",
            "itemLine_arcRatio": 0.1,
            "itemLine_startSymbol_visible": true,
            "itemLine_startSymbol_size": 8,
            "itemLine_startSymbol_fill": "#262626",
            "itemLine_startSymbol_symbolType": "triangle",
            "itemLine_startSymbol_shadowColor": "#262626",
            "itemLine_startSymbol_shadowBlur": 2,
            "itemLine_startSymbol_shadowOffsetX": 1,
            "itemLine_startSymbol_shadowOffsetY": 1,
            "itemLine_endSymbol_visible": true,
            "itemLine_endSymbol_size": 8,
            "itemLine_endSymbol_fill": "#262626",
            "itemLine_endSymbol_symbolType": "triangle",
            "itemLine_endSymbol_shadowColor": "#262626",
            "itemLine_endSymbol_shadowBlur": 2,
            "itemLine_endSymbol_shadowOffsetX": 1,
            "itemLine_endSymbol_shadowOffsetY": 1,
            "itemLine_line_stroke": "#E8346D",
            "itemLine_line_lineWidth": 2,
            "itemLine_line_lineDashA": 4,
            "itemLine_line_lineDashB": 4,
            "itemLine_line_shadowColor": "#262626",
            "itemLine_line_shadowBlur": 2,
            "itemLine_line_shadowOffsetX": 1,
            "itemLine_line_shadowOffsetY": 1,
            "itemContent_position": "middle",
            "itemContent_offsetX": 40,
            "itemContent_offsetY": -80,
            "itemContent_autoRotate": false,
            "itemContent_text": "标记点内容",
            "itemContent_fill": "#fff",
            "itemContent_fontSize": 24,
            "itemContent_fontFamily": "DIN",
            "itemContent_fontWeight": 600,
            "itemContent_fontStyle": "italic",
            "itemContent_underline": false,
            "itemContent_lineThrough": false,
            "itemContent_fillOpacity": 1,
            "itemContent_shadowColor": "#262626",
            "itemContent_shadowBlur": 2,
            "itemContent_shadowOffsetX": 1,
            "itemContent_shadowOffsetY": 1,
            "itemContent_stroke": "#262626",
            "itemContent_lineWidth": 1
        }
    ],
    "scroll_Bar": [
        {
            "visible": false,
            "orient": "bottom",
            "start": 0,
            "end": 1,
            "roamDrag_rate": 0.5,
            "roamDrag_reverse": true,
            "roamZoom_rate": 1,
            "roamZoom_focus": true,
            "rail_cornerRadius": 16,
            "rail_fill": "rgba(0,0,0,0.1)",
            "rail_shadowColor": "#262626",
            "rail_shadowBlur": 4,
            "rail_shadowOffsetX": 2,
            "rail_shadowOffsetY": 2,
            "slider_cornerRadius": 16,
            "slider_fill": "rgba(0,0,0,0.35)",
            "slider_shadowColor": "#262626",
            "slider_shadowBlur": 4,
            "slider_shadowOffsetX": 2,
            "slider_shadowOffsetY": 2
        }
    ]
}

export const ChartA02Field = [
    {
        "name": "测试分组",
        "type": "type",
        "value": "value",
        "color": "#1664FF"
    }
]

export const ChartA02Style = {
    "type": "pie",
    "stack": false,
    "group": false,
    "categoryField": "type",
    "valueField": "value",
    "seriesField": "name",
    "background": "rgba(0,0,0,0)",
    "padding": 8,
    "outerRadius": 1,
    "innerRadius": 0,
    "colorPalette": [
        {
            "color": "#4b77a0"
        },
        {
            "color": "#bc7222"
        },
        {
            "color": "#5fb8a2"
        },
        {
            "color": "#3CC780"
        },
        {
            "color": "#7442D4"
        },
        {
            "color": "#FFC400"
        },
        {
            "color": "#304D77"
        },
        {
            "color": "#B48DEB"
        },
        {
            "color": "#009488"
        },
        {
            "color": "#FF7DDA"
        }
    ],
    "axes_setUp": [
        {
            "visible": false,
            "orient": "radius",
            "trimPadding": false,
            "hover": true,
            "title_visible": false,
            "title_space": 16,
            "title_text": "轴标题",
            "title_fill": "#fff",
            "title_fontSize": 16,
            "title_fontFamily": "DIN",
            "title_fontWeight": 600,
            "title_fontStyle": "italic",
            "title_underline": false,
            "title_lineThrough": false,
            "title_shadowColor": "#262626",
            "title_shadowBlur": 2,
            "title_shadowOffsetX": 1,
            "title_shadowOffsetY": 1,
            "title_stroke": "#262626",
            "title_lineWidth": 3,
            "tick_visible": true,
            "tick_tickSize": 8,
            "tick_stroke": "#262626",
            "domainLine_visible": true,
            "domainLine_stroke": "#262626",
            "grid_visible": true,
            "grid_stroke": "rgba(0,0,0,0.1)",
            "grid_lineDashA": 0,
            "grid_lineDashB": 0,
            "label_visible": true,
            "label_text": "V",
            "label_fill": "#fff",
            "label_fontSize": 16,
            "label_fontFamily": "DIN",
            "label_fontWeight": 600,
            "label_fontStyle": "italic",
            "label_underline": false,
            "label_lineThrough": false,
            "label_shadowColor": "#262626",
            "label_shadowBlur": 2,
            "label_shadowOffsetX": 1,
            "label_shadowOffsetY": 1,
            "label_stroke": "#262626",
            "label_lineWidth": 3,
            "unit_visible": true,
            "unit_text": "V",
            "unit_dx": -8,
            "unit_dy": -8,
            "unit_fill": "#fff",
            "unit_fontSize": 16,
            "unit_fontFamily": "DIN",
            "unit_fontWeight": 600,
            "unit_fontStyle": "italic",
            "unit_underline": false,
            "unit_lineThrough": false,
            "unit_shadowColor": "#262626",
            "unit_shadowBlur": 2,
            "unit_shadowOffsetX": 1,
            "unit_shadowOffsetY": 1,
            "unit_stroke": "#262626",
            "unit_lineWidth": 3
        },
        {
            "visible": false,
            "orient": "angle",
            "trimPadding": false,
            "hover": true,
            "background_visible": true,
            "background_fillOpacity": 0,
            "background_hover_fill": "#DDE3E9",
            "background_hover_fillOpacity": 0.65,
            "background_hover_cursor": "pointer",
            "title_visible": false,
            "title_space": 16,
            "title_text": "轴标题",
            "title_fill": "#fff",
            "title_fontSize": 16,
            "title_fontFamily": "DIN",
            "title_fontWeight": 600,
            "title_fontStyle": "italic",
            "title_underline": false,
            "title_lineThrough": false,
            "title_shadowColor": "#262626",
            "title_shadowBlur": 2,
            "title_shadowOffsetX": 1,
            "title_shadowOffsetY": 1,
            "title_stroke": "#262626",
            "title_lineWidth": 3,
            "label_unit": "",
            "label_fill": "#fff",
            "label_fontSize": 16,
            "label_fontFamily": "DIN",
            "label_fontWeight": 600,
            "label_fontStyle": "italic",
            "label_underline": false,
            "label_lineThrough": false,
            "label_shadowColor": "#262626",
            "label_shadowBlur": 2,
            "label_shadowOffsetX": 1,
            "label_shadowOffsetY": 1,
            "label_stroke": "#262626",
            "label_lineWidth": 3,
            "tick_visible": true,
            "tick_tickMode": 4,
            "tick_noDecimals": true,
            "tick_tickSize": 8,
            "tick_stroke": "#262626",
            "domainLine_visible": true,
            "domainLine_stroke": "#262626",
            "grid_visible": false,
            "grid_stroke": "rgba(0,0,0,0.1)",
            "grid_lineDashA": 0,
            "grid_lineDashB": 0
        }
    ],
    "label_visible": false,
    "label_position": "outside",
    "label_formatter": "{type} - {value}%",
    "label_type": "text",
    "label_fontSize": 24,
    "label_fontFamily": "DIN",
    "label_fontWeight": 600,
    "label_fontStyle": "italic",
    "label_underline": false,
    "label_lineThrough": false,
    "label_shadowColor": "#262626",
    "label_shadowBlur": 4,
    "label_shadowOffsetX": 2,
    "label_shadowOffsetY": 2,
    "label_stroke": "#262626",
    "label_lineWidth": 2,
    "label_line_visible": true,
    "label_line1MinLength": 40,
    "label_line2MinLength": 80,
    "label_smooth": true,
    "label_align": "arc",
    "pie_padAngle": 0,
    "pie_cornerRadius": 0,
    "pie_shadowColor": "#262626",
    "pie_shadowBlur": 4,
    "pie_shadowOffsetX": 2,
    "pie_shadowOffsetY": 2,
    "pie_stroke": "#262626",
    "pie_lineWidth": 0,
    "pie_hover_outerRadius": 0.8,
    "pie_hover_shadowColor": "#262626",
    "pie_hover_shadowBlur": 4,
    "pie_hover_shadowOffsetX": 2,
    "pie_hover_shadowOffsetY": 2,
    "pie_hover_stroke": "#262626",
    "pie_hover_lineWidth": 1,
    "indicator_visible": false,
    "indicator_fixed": false,
    "indicator_trigger": "hover",
    "indicator_title_visible": true,
    "indicator_title_space": 16,
    "indicator_title_text": "内容",
    "indicator_title_fill": "#fff",
    "indicator_title_fontSize": 48,
    "indicator_title_fontFamily": "DIN",
    "indicator_title_fontWeight": 600,
    "indicator_title_fontStyle": "normal",
    "indicator_title_underline": false,
    "indicator_title_lineThrough": false,
    "indicator_title_shadowColor": "#262626",
    "indicator_title_shadowBlur": 4,
    "indicator_title_shadowOffsetX": 2,
    "indicator_title_shadowOffsetY": 2,
    "indicator_title_stroke": "#262626",
    "indicator_title_lineWidth": 2,
    "indicator_content": [
        {
            "visible": true,
            "space": 16,
            "text": "type",
            "unit": "",
            "fill": "#fff",
            "fontSize": 32,
            "fontFamily": "ShuHeiTi",
            "fontWeight": 600,
            "fontStyle": "normal",
            "underline": false,
            "lineThrough": false,
            "shadowColor": "#262626",
            "shadowBlur": 4,
            "shadowOffsetX": 2,
            "shadowOffsetY": 2,
            "stroke": "#262626",
            "lineWidth": 2
        },
        {
            "visible": true,
            "space": 16,
            "text": "value",
            "unit": "%",
            "fill": "#fff",
            "fontSize": 24,
            "fontFamily": "DIN",
            "fontWeight": 600,
            "fontStyle": "normal",
            "underline": false,
            "lineThrough": false,
            "shadowColor": "#262626",
            "shadowBlur": 4,
            "shadowOffsetX": 2,
            "shadowOffsetY": 2,
            "stroke": "#262626",
            "lineWidth": 2
        }
    ],
    "title_visible": false,
    "title_text": "饼图、环图、玫瑰图、雷达图",
    "title_align": "center",
    "title_innerPadding": 0,
    "title_fill": "#fff",
    "title_fontSize": 16,
    "title_fontFamily": "DIN",
    "title_fontWeight": 600,
    "title_fontStyle": "italic",
    "title_textAlign": "center",
    "title_textBaseline": "middle",
    "title_underline": false,
    "title_lineThrough": false,
    "title_shadowColor": "#262626",
    "title_shadowBlur": 2,
    "title_shadowOffsetX": 1,
    "title_shadowOffsetY": 1,
    "title_background": "transparent",
    "title_stroke": "#262626",
    "title_lineWidth": 3,
    "legends_setUp": [
        {
            "visible": false,
            "orient": "top",
            "position": "end",
            "padding": 0,
            "selectMode": "multiple",
            "allowAllCanceled": true,
            "select": true,
            "title_visible": false,
            "title_text": "图例标题",
            "title_align": "start",
            "title_space": 4,
            "title_fill": "#fff",
            "title_fontSize": 16,
            "title_fontFamily": "DIN",
            "title_fontWeight": 600,
            "title_fontStyle": "italic",
            "title_underline": false,
            "title_lineThrough": false,
            "title_textAlign": "center",
            "title_textBaseline": "middle",
            "title_shadowColor": "#262626",
            "title_shadowBlur": 2,
            "title_shadowOffsetX": 1,
            "title_shadowOffsetY": 1,
            "title_stroke": "#262626",
            "title_lineWidth": 3,
            "title_background": "rgba(0,0,0,0)",
            "item_spaceCol": 16,
            "item_spaceRow": 8,
            "item_padding": 4,
            "item_align": "left",
            "item_focus": true,
            "item_focusSize": 16,
            "item_backRadius": 8,
            "item_shape_space": 8,
            "item_shape_size": 16,
            "item_label_space": 16,
            "item_label_fill": "#fff",
            "item_label_fontSize": 16,
            "item_label_fontFamily": "PingFang",
            "item_label_fontWeight": 600,
            "item_label_fontStyle": "italic",
            "item_label_underline": false,
            "item_label_lineThrough": false,
            "item_label_shadowColor": "#262626",
            "item_label_shadowBlur": 2,
            "item_label_shadowOffsetX": 1,
            "item_label_shadowOffsetY": 1,
            "item_label_stroke": "#262626",
            "item_label_lineWidth": 2
        }
    ],
    "tooltip_visible": true,
    "tooltip_trigger": "hover",
    "tooltip_mark_visible": true,
    "tooltip_mark_position": "tl",
    "tooltip_mark_positionMode": "pointer",
    "tooltip_dimension_visible": true,
    "tooltip_dimension_position": "br",
    "tooltip_dimension_positionMode": "pointer",
    "tooltip_panel_padding": 16,
    "tooltip_panel_backgroundColor": "#f8f8f8",
    "tooltip_panel_borderColor": "#f8f8f8",
    "tooltip_panel_borderWidth": 1,
    "tooltip_panel_borderRadius": 8,
    "tooltip_panel_shadowX": 0,
    "tooltip_panel_shadowY": 0,
    "tooltip_panel_shadowBlur": 10,
    "tooltip_panel_shadowSpread": 4,
    "tooltip_panel_shadowColor": "#aaa",
    "tooltip_titleLabel_fontColor": "#262626",
    "tooltip_titleLabel_fontSize": 24,
    "tooltip_titleLabel_fontFamily": "ShuHeiTi",
    "tooltip_titleLabel_fontWeight": 600,
    "tooltip_titleLabel_textAlign": "center",
    "tooltip_shape_size": 16,
    "tooltip_shape_spacing": 8,
    "tooltip_keyLabel_fontColor": "#262626",
    "tooltip_keyLabel_fontSize": 20,
    "tooltip_keyLabel_fontFamily": "PingFang",
    "tooltip_keyLabel_fontWeight": 600,
    "tooltip_keyLabel_textAlign": "center",
    "tooltip_keyLabel_tspacing": 8,
    "tooltip_valueLabel_fontColor": "#262626",
    "tooltip_valueLabel_fontSize": 20,
    "tooltip_valueLabel_fontFamily": "DIN",
    "tooltip_valueLabel_fontWeight": 600,
    "tooltip_valueLabel_textAlign": "center",
    "tooltip_valueLabel_tspacing": 8,
    "tooltip_spaceRow": 8,
    "crosshair_trigger": "click",
    "crosshair_X_visible": false,
    "crosshair_X_lineVisible": false,
    "crosshair_X_lineType": "rect",
    "crosshair_X_lineFill": "rgba(0,0,0,0.15)",
    "crosshair_X_lineStroke": "rgba(0,0,0,0)",
    "crosshair_X_lineLineWidth": 1,
    "crosshair_X_lineLineDashA": 0,
    "crosshair_X_lineLineDashB": 0,
    "crosshair_X_labelVisible": false,
    "crosshair_X_labelBackground": "rgba(0,0,0,0)",
    "crosshair_X_labelFill": "#fff",
    "crosshair_X_labelFontSize": 16,
    "crosshair_X_labelFontFamily": "DIN",
    "crosshair_X_labelFontWeight": 600,
    "crosshair_X_labelFontStyle": "italic",
    "crosshair_X_labelTextAlign": "center",
    "crosshair_X_labelTextBaseline": "middle",
    "crosshair_X_labelUnderline": false,
    "crosshair_X_labelLineThrough": false,
    "crosshair_X_labelShadowColor": "#262626",
    "crosshair_X_labelShadowBlur": 2,
    "crosshair_X_labelShadowOffsetX": 1,
    "crosshair_X_labelShadowOffsetY": 1,
    "crosshair_X_labelStroke": "#262626",
    "crosshair_X_labelLineWidth": 3,
    "crosshair_Y_visible": true,
    "crosshair_Y_lineVisible": true,
    "crosshair_Y_lineType": "line",
    "crosshair_Y_lineFill": "rgba(0,0,0,0)",
    "crosshair_Y_lineStroke": "#262626",
    "crosshair_Y_lineLineWidth": 1,
    "crosshair_Y_lineLineDashA": 4,
    "crosshair_Y_lineLineDashB": 2,
    "crosshair_Y_labelVisible": true,
    "crosshair_Y_labelBackground": "rgba(0,0,0,0)",
    "crosshair_Y_labelFill": "#fff",
    "crosshair_Y_labelFontSize": 16,
    "crosshair_Y_labelFontFamily": "DIN",
    "crosshair_Y_labelFontWeight": 600,
    "crosshair_Y_labelFontStyle": "italic",
    "crosshair_Y_labelTextAlign": "center",
    "crosshair_Y_labelTextBaseline": "middle",
    "crosshair_Y_labelUnderline": false,
    "crosshair_Y_labelLineThrough": false,
    "crosshair_Y_labelShadowColor": "#262626",
    "crosshair_Y_labelShadowBlur": 2,
    "crosshair_Y_labelShadowOffsetX": 1,
    "crosshair_Y_labelShadowOffsetY": 1,
    "crosshair_Y_labelStroke": "#262626",
    "crosshair_Y_labelLineWidth": 3,
    "line_visible": true,
    "line_curveType": "linear",
    "line_lineWidth": 2,
    "line_opacity": 1,
    "line_shadowColor": "#262626",
    "line_shadowBlur": 2,
    "line_shadowOffsetX": 1,
    "line_shadowOffsetY": 1,
    "point_visible": true,
    "point_symbolType": "circle",
    "point_size": 8,
    "point_lineWidth": 2,
    "point_fill": "#fff",
    "point_fillOpacity": 1,
    "point_shadowColor": "#262626",
    "point_shadowBlur": 2,
    "point_shadowOffsetX": 1,
    "point_shadowOffsetY": 1,
    "point_hover_symbolType": "rectRound",
    "point_hover_size": 16
}

export const ChartA03Field = [
    {
        "name": "金额",
        "type": "type",
        "value": "value",
        "color": "#ff9459"
    }
]
export const ChartA03Style = {
    "type": "bar",
    "stack": true,
    "group": false,
    "percent": false,
    "direction": "vertical",
    "background": "rgba(0,0,0,0)",
    "padding": 16,
    "xField": "type",
    "yField": "value",
    "barWidth": 16,
    "barGapInGroup": 0,
    "line_visible": true,
    "line_curveType": "linear",
    "line_lineWidth": 2,
    "line_opacity": 1,
    "line_shadowColor": "#262626",
    "line_shadowBlur": 2,
    "line_shadowOffsetX": 1,
    "line_shadowOffsetY": 1,
    "bar_visible": true,
    "bar_cornerRadius": 4,
    "bar_shadowColor": "#262626",
    "bar_shadowBlur": 4,
    "bar_shadowOffsetX": 2,
    "bar_shadowOffsetY": 2,
    "point_visible": true,
    "point_symbolType": "circle",
    "point_size": 8,
    "point_lineWidth": 2,
    "point_fill": "#fff",
    "point_fillOpacity": 1,
    "point_shadowColor": "#262626",
    "point_shadowBlur": 2,
    "point_shadowOffsetX": 1,
    "point_shadowOffsetY": 1,
    "point_hover_symbolType": "rectRound",
    "point_hover_size": 16,
    "barBack_visible": true,
    "barBack_cornerRadius": 0,
    "barBack_fill": "rgba(0,0,0,0.05)",
    "lineLabel_visible": true,
    "lineLabel_fontSize": 24,
    "lineLabel_fontFamily": "DIN",
    "lineLabel_fontWeight": 600,
    "lineLabel_fontStyle": "italic",
    "lineLabel_underline": false,
    "lineLabel_lineThrough": false,
    "lineLabel_shadowColor": "#262626",
    "lineLabel_shadowBlur": 2,
    "lineLabel_shadowOffsetX": 1,
    "lineLabel_shadowOffsetY": 1,
    "lineLabel_stroke": "#262626",
    "lineLabel_lineWidth": 3,
    "axes_setUp": [
        {
            "orient": "left",
            "trimPadding": false,
            "hover": true,
            "background_visible": false,
            "background_fillOpacity": 0,
            "background_hover_fill": "#DDE3E9",
            "background_hover_fillOpacity": 0.65,
            "background_hover_cursor": "pointer",
            "title_visible": false,
            "title_space": 16,
            "title_text": "轴标题",
            "title_fill": "#fff",
            "title_fontSize": 16,
            "title_fontFamily": "DIN",
            "title_fontWeight": 600,
            "title_fontStyle": "italic",
            "title_underline": false,
            "title_lineThrough": false,
            "title_shadowColor": "#262626",
            "title_shadowBlur": 2,
            "title_shadowOffsetX": 1,
            "title_shadowOffsetY": 1,
            "title_stroke": "#262626",
            "title_lineWidth": 3,
            "label_visible": true,
            "tick_visible": true,
            "tick_tickSize": 8,
            "tick_stroke": "#262626",
            "domainLine_visible": true,
            "domainLine_stroke": "#262626",
            "grid_visible": true,
            "grid_stroke": "rgba(0,0,0,0.1)",
            "grid_lineDashA": 0,
            "grid_lineDashB": 0,
            "label_text": "",
            "label_fill": "#fff",
            "label_fontSize": 16,
            "label_fontFamily": "Pixel",
            "label_fontWeight": 600,
            "label_fontStyle": "italic",
            "label_underline": false,
            "label_lineThrough": false,
            "label_shadowColor": "#262626",
            "label_shadowBlur": 2,
            "label_shadowOffsetX": 1,
            "label_shadowOffsetY": 1,
            "label_stroke": "#262626",
            "label_lineWidth": 3,
            "unit_visible": true,
            "unit_text": "千万",
            "unit_dx": -56,
            "unit_dy": -24,
            "unit_fill": "#fff",
            "unit_fontSize": 16,
            "unit_fontFamily": "DIN",
            "unit_fontWeight": 600,
            "unit_fontStyle": "italic",
            "unit_underline": false,
            "unit_lineThrough": false,
            "unit_shadowColor": "#262626",
            "unit_shadowBlur": 2,
            "unit_shadowOffsetX": 1,
            "unit_shadowOffsetY": 1,
            "unit_stroke": "#262626",
            "unit_lineWidth": 3
        },
        {
            "orient": "bottom",
            "trimPadding": false,
            "hover": true,
            "background_visible": true,
            "background_fillOpacity": 0,
            "background_hover_fill": "#DDE3E9",
            "background_hover_fillOpacity": 0.65,
            "background_hover_cursor": "pointer",
            "title_visible": false,
            "title_space": 16,
            "title_text": "轴标题",
            "title_fill": "#fff",
            "title_fontSize": 16,
            "title_fontFamily": "DIN",
            "title_fontWeight": 600,
            "title_fontStyle": "italic",
            "title_underline": false,
            "title_lineThrough": false,
            "title_shadowColor": "#262626",
            "title_shadowBlur": 2,
            "title_shadowOffsetX": 1,
            "title_shadowOffsetY": 1,
            "title_stroke": "#262626",
            "title_lineWidth": 3,
            "label_unit": "",
            "label_fill": "#fff",
            "label_fontSize": 16,
            "label_fontFamily": "DIN",
            "label_fontWeight": 600,
            "label_fontStyle": "italic",
            "label_underline": false,
            "label_lineThrough": false,
            "label_shadowColor": "#262626",
            "label_shadowBlur": 2,
            "label_shadowOffsetX": 1,
            "label_shadowOffsetY": 1,
            "label_stroke": "#262626",
            "label_lineWidth": 3,
            "tick_visible": true,
            "tick_tickMode": 4,
            "tick_noDecimals": true,
            "tick_tickSize": 8,
            "tick_stroke": "#262626",
            "domainLine_visible": true,
            "domainLine_stroke": "#262626",
            "grid_visible": false,
            "grid_stroke": "rgba(0,0,0,0.1)",
            "grid_lineDashA": 0,
            "grid_lineDashB": 0
        }
    ],
    "title_visible": false,
    "title_text": "折现图、面积图、柱形图、条形图",
    "title_align": "center",
    "title_innerPadding": 0,
    "title_fill": "#fff",
    "title_fontSize": 16,
    "title_fontFamily": "DIN",
    "title_fontWeight": 600,
    "title_fontStyle": "italic",
    "title_textAlign": "center",
    "title_textBaseline": "middle",
    "title_underline": false,
    "title_lineThrough": false,
    "title_shadowColor": "#262626",
    "title_shadowBlur": 2,
    "title_shadowOffsetX": 1,
    "title_shadowOffsetY": 1,
    "title_background": "transparent",
    "title_stroke": "#262626",
    "title_lineWidth": 3,
    "legends_setUp": [
        {
            "visible": true,
            "orient": "top",
            "position": "end",
            "padding": 0,
            "selectMode": "multiple",
            "allowAllCanceled": true,
            "select": true,
            "title_visible": false,
            "title_text": "图例标题",
            "title_align": "start",
            "title_space": 4,
            "title_fill": "#fff",
            "title_fontSize": 16,
            "title_fontFamily": "DIN",
            "title_fontWeight": 600,
            "title_fontStyle": "italic",
            "title_underline": false,
            "title_lineThrough": false,
            "title_textAlign": "center",
            "title_textBaseline": "middle",
            "title_shadowColor": "#262626",
            "title_shadowBlur": 2,
            "title_shadowOffsetX": 1,
            "title_shadowOffsetY": 1,
            "title_stroke": "#262626",
            "title_lineWidth": 3,
            "title_background": "rgba(0,0,0,0)",
            "item_spaceCol": 16,
            "item_spaceRow": 8,
            "item_padding": 4,
            "item_align": "left",
            "item_focus": true,
            "item_focusSize": 16,
            "item_backRadius": 8,
            "item_shape_space": 8,
            "item_shape_size": 16,
            "item_label_space": 16,
            "item_label_fill": "#fff",
            "item_label_fontSize": 16,
            "item_label_fontFamily": "PingFang",
            "item_label_fontWeight": 600,
            "item_label_fontStyle": "italic",
            "item_label_underline": false,
            "item_label_lineThrough": false,
            "item_label_shadowColor": "#262626",
            "item_label_shadowBlur": 2,
            "item_label_shadowOffsetX": 1,
            "item_label_shadowOffsetY": 1,
            "item_label_stroke": "#262626",
            "item_label_lineWidth": 2
        }
    ],
    "label_visible": false,
    "label_position": "top",
    "label_formatter": "{type} {value}",
    "label_offset": 4,
    "label_overlap": true,
    "label_smartInvert": false,
    "label_fontSize": 16,
    "label_fontFamily": "DIN",
    "label_fontWeight": 600,
    "label_fontStyle": "italic",
    "label_underline": false,
    "label_lineThrough": false,
    "label_maxLineWidth": 200,
    "label_suffixPosition": "middle",
    "label_direction": "horizontal",
    "label_fillOpacity": 1,
    "label_shadowColor": "#262626",
    "label_shadowBlur": 2,
    "label_shadowOffsetX": 1,
    "label_shadowOffsetY": 1,
    "label_stroke": "#262626",
    "label_lineWidth": 1,
    "tooltip_visible": true,
    "tooltip_trigger": "hover",
    "tooltip_mark_visible": true,
    "tooltip_mark_position": "tl",
    "tooltip_mark_positionMode": "pointer",
    "tooltip_dimension_visible": true,
    "tooltip_dimension_position": "br",
    "tooltip_dimension_positionMode": "pointer",
    "tooltip_panel_padding": 16,
    "tooltip_panel_backgroundColor": "#f8f8f8",
    "tooltip_panel_borderColor": "#f8f8f8",
    "tooltip_panel_borderWidth": 1,
    "tooltip_panel_borderRadius": 8,
    "tooltip_panel_shadowX": 0,
    "tooltip_panel_shadowY": 0,
    "tooltip_panel_shadowBlur": 10,
    "tooltip_panel_shadowSpread": 4,
    "tooltip_panel_shadowColor": "#aaa",
    "tooltip_titleLabel_fontColor": "#262626",
    "tooltip_titleLabel_fontSize": 24,
    "tooltip_titleLabel_fontFamily": "ShuHeiTi",
    "tooltip_titleLabel_fontWeight": 600,
    "tooltip_titleLabel_textAlign": "center",
    "tooltip_shape_size": 16,
    "tooltip_shape_spacing": 8,
    "tooltip_keyLabel_fontColor": "#262626",
    "tooltip_keyLabel_fontSize": 20,
    "tooltip_keyLabel_fontFamily": "PingFang",
    "tooltip_keyLabel_fontWeight": 600,
    "tooltip_keyLabel_textAlign": "center",
    "tooltip_keyLabel_tspacing": 8,
    "tooltip_valueLabel_fontColor": "#262626",
    "tooltip_valueLabel_fontSize": 20,
    "tooltip_valueLabel_fontFamily": "DIN",
    "tooltip_valueLabel_fontWeight": 600,
    "tooltip_valueLabel_textAlign": "center",
    "tooltip_valueLabel_tspacing": 8,
    "tooltip_spaceRow": 8,
    "crosshair_trigger": "hover",
    "crosshair_X_visible": true,
    "crosshair_X_lineVisible": true,
    "crosshair_X_lineType": "rect",
    "crosshair_X_lineFill": "rgba(0,0,0,0.15)",
    "crosshair_X_lineStroke": "rgba(0,0,0,0)",
    "crosshair_X_lineLineWidth": 1,
    "crosshair_X_lineLineDashA": 0,
    "crosshair_X_lineLineDashB": 0,
    "crosshair_X_labelVisible": true,
    "crosshair_X_labelBackground": "rgba(0,0,0,0)",
    "crosshair_X_labelFill": "#fff",
    "crosshair_X_labelFontSize": 16,
    "crosshair_X_labelFontFamily": "DIN",
    "crosshair_X_labelFontWeight": 600,
    "crosshair_X_labelFontStyle": "italic",
    "crosshair_X_labelTextAlign": "center",
    "crosshair_X_labelTextBaseline": "middle",
    "crosshair_X_labelUnderline": false,
    "crosshair_X_labelLineThrough": false,
    "crosshair_X_labelShadowColor": "#262626",
    "crosshair_X_labelShadowBlur": 2,
    "crosshair_X_labelShadowOffsetX": 1,
    "crosshair_X_labelShadowOffsetY": 1,
    "crosshair_X_labelStroke": "#262626",
    "crosshair_X_labelLineWidth": 3,
    "crosshair_Y_visible": true,
    "crosshair_Y_lineVisible": true,
    "crosshair_Y_lineType": "line",
    "crosshair_Y_lineFill": "rgba(0,0,0,0)",
    "crosshair_Y_lineStroke": "#262626",
    "crosshair_Y_lineLineWidth": 1,
    "crosshair_Y_lineLineDashA": 4,
    "crosshair_Y_lineLineDashB": 2,
    "crosshair_Y_labelVisible": true,
    "crosshair_Y_labelBackground": "rgba(0,0,0,0)",
    "crosshair_Y_labelFill": "#fff",
    "crosshair_Y_labelFontSize": 16,
    "crosshair_Y_labelFontFamily": "DIN",
    "crosshair_Y_labelFontWeight": 600,
    "crosshair_Y_labelFontStyle": "italic",
    "crosshair_Y_labelTextAlign": "center",
    "crosshair_Y_labelTextBaseline": "middle",
    "crosshair_Y_labelUnderline": false,
    "crosshair_Y_labelLineThrough": false,
    "crosshair_Y_labelShadowColor": "#262626",
    "crosshair_Y_labelShadowBlur": 2,
    "crosshair_Y_labelShadowOffsetX": 1,
    "crosshair_Y_labelShadowOffsetY": 1,
    "crosshair_Y_labelStroke": "#262626",
    "crosshair_Y_labelLineWidth": 3,
    "totalLabel_visible": true,
    "totalLabel_fill": "#ff9459",
    "totalLabel_fontSize": 24,
    "totalLabel_fontFamily": "Pixel",
    "totalLabel_fontWeight": 600,
    "totalLabel_fontStyle": "italic",
    "totalLabel_underline": false,
    "totalLabel_lineThrough": false,
    "totalLabel_fillOpacity": 1,
    "totalLabel_shadowColor": "#262626",
    "totalLabel_shadowBlur": 2,
    "totalLabel_shadowOffsetX": 1,
    "totalLabel_shadowOffsetY": 1,
    "totalLabel_stroke": "#262626",
    "totalLabel_lineWidth": 0,
    "mark_line": [
        {
            "visible": true,
            "axes": "y",
            "number": "17500",
            "line_stroke": "#262626",
            "line_strokeOpacity": 0.5,
            "line_lineDashA": 8,
            "line_lineDashB": 8,
            "line_lineWidth": 2,
            "line_shadowColor": "#262626",
            "line_shadowBlur": 2,
            "line_shadowOffsetX": 1,
            "line_shadowOffsetY": 1,
            "label_visible": true,
            "label_position": "start",
            "label_refX": 0,
            "label_refY": 0,
            "label_text": "内容",
            "label_fill": "#fff",
            "label_fontSize": 24,
            "label_fontFamily": "DIN",
            "label_fontWeight": 600,
            "label_fontStyle": "italic",
            "label_underline": false,
            "label_lineThrough": false,
            "label_fillOpacity": 1,
            "label_shadowColor": "#262626",
            "label_shadowBlur": 2,
            "label_shadowOffsetX": 1,
            "label_shadowOffsetY": 1,
            "label_stroke": "#262626",
            "label_lineWidth": 1
        }
    ],
    "mark_point": [
        {
            "visible": true,
            "coordinate_type": "索尼",
            "coordinate_value": 15500,
            "targetSymbol_visible": true,
            "targetSymbol_offset": 16,
            "targetSymbol_symbolType": "cross",
            "targetSymbol_size": 16,
            "targetSymbol_fill": "#fff",
            "targetSymbol_fillOpacity": 1,
            "targetSymbol_shadowColor": "#262626",
            "targetSymbol_shadowBlur": 2,
            "targetSymbol_shadowOffsetX": 1,
            "targetSymbol_shadowOffsetY": 1,
            "targetSymbol_stroke": "#262626",
            "targetSymbol_lineWidth": 1,
            "itemLine_visible": true,
            "itemLine_type": "type-arc",
            "itemLine_arcRatio": 0.1,
            "itemLine_startSymbol_visible": true,
            "itemLine_startSymbol_size": 8,
            "itemLine_startSymbol_fill": "#262626",
            "itemLine_startSymbol_symbolType": "triangle",
            "itemLine_startSymbol_shadowColor": "#262626",
            "itemLine_startSymbol_shadowBlur": 2,
            "itemLine_startSymbol_shadowOffsetX": 1,
            "itemLine_startSymbol_shadowOffsetY": 1,
            "itemLine_endSymbol_visible": true,
            "itemLine_endSymbol_size": 8,
            "itemLine_endSymbol_fill": "#262626",
            "itemLine_endSymbol_symbolType": "triangle",
            "itemLine_endSymbol_shadowColor": "#262626",
            "itemLine_endSymbol_shadowBlur": 2,
            "itemLine_endSymbol_shadowOffsetX": 1,
            "itemLine_endSymbol_shadowOffsetY": 1,
            "itemLine_line_stroke": "#E8346D",
            "itemLine_line_lineWidth": 2,
            "itemLine_line_lineDashA": 4,
            "itemLine_line_lineDashB": 4,
            "itemLine_line_shadowColor": "#262626",
            "itemLine_line_shadowBlur": 2,
            "itemLine_line_shadowOffsetX": 1,
            "itemLine_line_shadowOffsetY": 1,
            "itemContent_position": "middle",
            "itemContent_offsetX": 40,
            "itemContent_offsetY": -80,
            "itemContent_autoRotate": false,
            "itemContent_text": "标记点内容",
            "itemContent_fill": "#fff",
            "itemContent_fontSize": 24,
            "itemContent_fontFamily": "DIN",
            "itemContent_fontWeight": 600,
            "itemContent_fontStyle": "italic",
            "itemContent_underline": false,
            "itemContent_lineThrough": false,
            "itemContent_fillOpacity": 1,
            "itemContent_shadowColor": "#262626",
            "itemContent_shadowBlur": 2,
            "itemContent_shadowOffsetX": 1,
            "itemContent_shadowOffsetY": 1,
            "itemContent_stroke": "#262626",
            "itemContent_lineWidth": 1
        }
    ],
    "scroll_Bar": [
        {
            "visible": true,
            "orient": "bottom",
            "start": 0,
            "end": 1,
            "roamDrag_rate": 0.5,
            "roamDrag_reverse": true,
            "roamZoom_rate": 1,
            "roamZoom_focus": true,
            "rail_cornerRadius": 16,
            "rail_fill": "rgba(0,0,0,0.1)",
            "rail_shadowColor": "#262626",
            "rail_shadowBlur": 4,
            "rail_shadowOffsetX": 2,
            "rail_shadowOffsetY": 2,
            "slider_cornerRadius": 16,
            "slider_fill": "rgba(0,0,0,0.35)",
            "slider_shadowColor": "#262626",
            "slider_shadowBlur": 4,
            "slider_shadowOffsetX": 2,
            "slider_shadowOffsetY": 2
        }
    ]
}

export const TopDateTemplate = ({ date, unit, Event }) => {
    const UnitMapping = { 1: '亿元', 2: '万元' }
    const onDateChange = (e) => {
        sessionStorage.setItem('YearMonth', dayjs(e).format('YYYY-MM'))
        Event.emit({ type: 'onDate', data: dayjs(e).format('YYYY-MM') })
    }
    const onUnitChange = () => Event.emit({ type: 'onUnit', data: unit })
    return (
        <div className="TopDateTemplate">
            <div>
                日期选择 :
                <DatePicker value={dayjs(date, 'YYYY-MM')} picker="month" allowClear={false} suffixIcon={null} onChange={onDateChange} />
            </div>
            <div>
                单位选择 :
                {UnitMapping[unit]} <SwapOutlined onClick={onUnitChange} />
            </div>
        </div>
    )
}